﻿using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Yes.Application.Article;
using Yes.Application.Article.Dto;
using Yes.Application.Category;
using Yes.Application.User;
using Yes.Domain.Entity;
using Yes.Web.Blog.Attribute;
using Yes.Web.Blog.Models;

namespace Yes.Web.Blog.Controllers
{
    [AllowAnonymous]
    public class HomeController : Controller
    {
        private IArticleService _articleService;
        private ICategoryService _categoryService;

        public HomeController(IArticleService articleService, ICategoryService categoryService)
        {
            _articleService = articleService;
            _categoryService = categoryService;
        }

        public IActionResult Error()
        {
            return View();
        }
    }
}